<template>
    <div id="cart_list">        
        <div class="checkout-types">
            <span class="price">Grand Total:${{ money.toFixed(2) }}</span>
            <span class="btn-checkout" @click="clear()"><i class="photofont icon photo-suo suo-icon"></i><span class="proceed-button txt-c">Proceed to Checkout</span></span>
        </div>          
    </div>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
    name:'VCartList',
    components: {
    },
    data(){
        return { 
        }
    },
    computed:{
        ...mapGetters(['money']),        
    },
    methods:{
        clear(){

            sessionStorage.clear()
            console.log("清除")
        }
    }
}
</script>
<style>
</style>

